package com.unknowpupil.web.service.impl;

import com.unknowpupil.web.base.impl.BaseCrudServiceImpl;
import com.unknowpupil.web.domain.Currencies;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.unknowpupil.web.mapper.CurrenciesMapper;
import com.unknowpupil.web.service.ICurrenciesService;

import java.util.List;

/**
 * @Classname: ${NAME}
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2019/11/6 14:55
 * @Description:
 * @Version: 1.0
 */
@Service
public class CurrenciesServiceImpl extends BaseCrudServiceImpl<Currencies,CurrenciesMapper> implements ICurrenciesService {

    @Resource
    private CurrenciesMapper currenciesMapper;

    @Override
    public List<Currencies> getCurrencies() {
        return currenciesMapper.selectAll();
    }
}
